EXE =	vmchk.exe vmdev.exe vmpaste.exe vmcopy.exe \
	vmpop.exe vmpref.exe vmtime.exe

OBJ =	vmchk.obj vmdev.obj vmpaste.obj vmcopy.obj \
	vmpop.obj vmpref.obj vmtime.obj vmbdoor.obj

CC=sc.exe
CFLAGS=-c -4

CPP=sc.exe
CPPFLAGS=-c -4

LINK=link.exe
LFLAGS=/nologo /noi

all:: $(EXE)

$(EXE):: vmbdoor.obj

$(OBJ):: vmbdoor.h

.obj.exe:
	$(LINK) $(LFLAGS) $**,$@,NUL,user32 kernel32;

.cpp.obj:
	$(CPP) $(CPPFLAGS) $<

.c.obj:
	$(CC) $(CFLAGS) $<

clean:
	del $(OBJ)

allclean:
	del $(OBJ) $(EXE)
